package com.study.zzedu.entity;

/**
 * Created by kiros on 2020/9/9.
 */

public class DiscussDetailItem {
    private String id;// 楼层Id
    private String courseDiscussionId; //贴子Id
    private String content;// 内容
    private int floor;// 楼层，类似贴吧中的，1楼，2楼等

    private String pubdate;//发布时间
    private String replierName;// 发布人名称
    private Boolean byPoster;//true  // 是否楼主

    //private int views; //预览量
    //private int comments; //评论数
    //private boolean top;


    public DiscussDetailItem(String id, String courseDiscussionId, String content, int floor, String pubdate, String replierName, Boolean byPoster) {
        this.id = id;
        this.courseDiscussionId = courseDiscussionId;
        this.content = content;
        this.floor = floor;
        this.pubdate = pubdate;
        this.replierName = replierName;
        this.byPoster = byPoster;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getCourseDiscussionId() {
        return courseDiscussionId;
    }

    public void setCourseDiscussionId(String courseDiscussionId) {
        this.courseDiscussionId = courseDiscussionId;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public int getFloor() {
        return floor;
    }

    public void setFloor(int floor) {
        this.floor = floor;
    }

    public String getPubdate() {
        return pubdate;
    }

    public void setPubdate(String pubdate) {
        this.pubdate = pubdate;
    }

    public String getReplierName() {
        return replierName;
    }

    public void setReplierName(String replierName) {
        this.replierName = replierName;
    }

    public Boolean getByPoster() {
        return byPoster;
    }

    public void setByPoster(Boolean byPoster) {
        this.byPoster = byPoster;
    }
}
